#include<iostream>
#include<stdio.h>

int main()
{
  //stdout -> 1
  printf("hello printf 1\n");
  fprintf(stdout, "hello fprintf1\n");

  //stderr
  perror("hello perror 2");

  // cout -> 1
  std::cout<< "hello cout 1"<<std::endl;
  //cerr -> 2
  std::cerr<<"hello cerr 2"<<std::endl;

  return 0;
}


